
<!DOCTYPE html>
<html lang="zh">
<head>
<title>登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
<meta http-equiv="Cache-Control" content="no-transform" /> 
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name="applicable-device" content="pc,mobile">
<link href="__PUBLIC__/css/style_zl.css" rel="stylesheet">
</head>
<body id="loginpage">
	<include file="Public/header"/>
<div id="login">
	<div class="block">
		<div id="loginbox">
		<form action="{:U('/Login/Index/log')}" method="POST" onsubmit="return checklogin();"/>
			<div class="lgbox">
				<h3 class="logintitle">登录</h3>
				<ul class="inputbox">
					<?php if($error_message){echo '<p class="warning">'.$error_message.'</p>';}?>
					<li class="item">
						<span class="l">邮&nbsp;&nbsp;&nbsp;&nbsp;箱：</span>
						<span class="r">
							<input name="username" type="text" class="input" placeholder="用户名（邮箱）"  value="<?php  echo $_SESSION['text_username'];?>"/>
						</span>
						<div class="clear"></div>
					</li>
					<li class="item">
						<span class="l">密&nbsp;&nbsp;&nbsp;&nbsp;码：</span>
						<span class="r">
							<input name="password" type="password" class="input" placeholder="密码"  value="<?php  echo $_SESSION['text_password'];?>" />
						</span>
						<div class="clear"></div>
					</li><!--
					
					<li class="item">
						<span class="l">验证码：</span>
						<span class="r">
							<input name="inputcode" type="text" class="input" placeholder="验证码" style="width:185px;" />
							<img style="vertical-align: middle;" src="<?php echo HOST.'/src/lib/imgcode.php?'.rand();?>" onclick="this.src='<?php echo HOST.'/src/lib/imgcode.php?';?>?'+Math.random()"/>
						</span>
						<div class="clear"></div>
					</li>
				--></ul>
			</div>
			<div class="lg">
				<div class="checkbox">
					<label style="display:none;"><input class="inputbox" type="checkbox" /><span>记住本次登录</span></label>
					<div class="clear"></div>
				</div>
				<input type="hidden" name="act" value="login">
				<div class="btnmar"><input type="submit" value="立即登录" class="btn"></div>
			</div>
			<div class="reg">还没有账号？<a class="regbtn" href="<?php echo U('register');?>">立即注册</a></div>
		</form>
		</div>
	</div>
	<div class="clear"></div>
</div>
<include file="Public/partner"/>
<include file="Public/footer"/>
</body>
</html>